package edu.whut.service;

import edu.whut.entity.Approval;

public interface ApprovalService {

    Boolean addApproval(Approval approval);

    Boolean deleteApproval(Approval approval);

    /**
     * 功能：获取帖子的点赞数
     * @param creationId
     * @return 帖子的点赞数
     */
    Integer getApprovalNumber(Long creationId);
}
